home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
wildcat
/
ritwc4.zip
/
RITUAL.WCX
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1996-04-04
|
20KB
|
1,253 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 20250 bytes 03/09/122 08:19:18am
'! Code Segment Size :11696 bytes
'! Data Segment Size :5278 bytes
'! String Segment Size:8554 bytes
'! Compiled with WCC version ? 019C017B
Type Type28
s0 As String*15
s15 As String*15
s30 As String*15
s45 As String*15
s60 As String*15
s75 As String*15
s90 As String*15
s105 As String*15
s120 As String*15
s135 As String*15
s150 As String*15
s165 As String*15
End Type
Type Type27
s0 As String*15
s15 As String*15
s30 As String*15
s45 As String*15
s60 As String*15
s75 As String*15
s90 As String*15
s105 As String*15
s120 As String*15
s135 As String*15
s150 As String*15
s165 As String*15
End Type
Type Type26
s0 As String*15
s15 As String*15
Filler30(1 To 8) As Byte
s38 As String*2
s40 As String*15
s55 As String*7
s62 As String*7
Filler69(1 To 6) As Byte
s75 As String*1
s76 As String*3
s79 As String*3
Filler82(1 To 36) As Byte
s118 As String*15
Filler133(1 To 3) As Byte
s136 As String*3
Filler139(1 To 3) As Byte
s142 As String*4
s146 As String*4
End Type
Declare Function Func3749(l65534 As Long, l65532 As Long) As Integer
Declare Sub Sub4221
Declare Sub Sub4375
Declare Sub Sub4634
Declare Sub Sub4781
Declare Sub Sub4867
Declare Sub Sub5363
Declare Sub Sub5438
Declare Sub Sub5990
Declare Sub Sub6040
Declare Sub Sub6074
Declare Sub Sub6108
Declare Sub Sub7642
Declare Sub Sub9110
Declare Sub Sub9752
Declare Sub Sub10399
Declare Sub Sub10946
Declare Sub Sub11403
Dim s4463 As String
Dim l4467 As Long
Dim s4471 As String
Dim s4475 As String*1
Dim s4476 As String
Dim i4480 As Integer
Dim i4654 As Integer
Dim t26_4656 As Type26
Dim t28_4828 As Type28
Dim t27_5008 As Type27
Dim i5190 As Integer
Dim i5192 As Integer
Dim i5194 As Integer
Dim s5196 As String*1
Dim s5197 As String
Dim s5201 As String
Dim s5205 As String
Dim i5209 As Integer
Dim s5211 As String
Dim i5215 As Integer
Dim i5217 As Integer
Dim i5219 As Integer
Dim i5221 As Integer
Dim i5223 As Integer
Dim i5225 As Integer
Dim i5227 As Integer
Dim i5229 As Integer
Dim s5231 As String
Dim t5235 As Time
Dim s5239 As String
Dim d5243 As Date
Dim s5245 As String
Dim s5253 As String
Dim i5257 As Integer
Dim s5259 As String
Dim s5263 As String*15
Dim l65532_ As Long '! Temporary
s5253 = Str(Node)
s4475 = "N"
CurrentDate d5243
s5245 = FormatDate(d5243, "mm/dd/yy")
s5197 = " @07@─────@08@══════════@07@──────"
i4654 = FreeFile
s4471 = ProgPath + "ritual.cfg"
Open s4471 For Input As i4654
Input #i4654, s4463
Input #i4654, l4467
Input #i4654, s4476
Close i4654
If Func3749(l4467, (93047)) Then
i5257 = -1
Else
221 i5257 = 0
End If
227 If i5257 = -1 Then
s4475 = "Y"
Else
260 s4475 = "N"
s4476 = "UNREGISTERED COPY"
End If
280 If Exists(ProgPath + "ritmaint.dat") Then
i4654 = FreeFile
Open ProgPath + "ritmaint.dat" For Input As i4654
Input #i4654, s5259
Close i4654
s5259 = UCase(s5259)
If s5259 <> s5245 Then
Del ProgPath + "ritplay.dat"
Del ProgPath + "ritmaint.dat"
If Exists(ProgPath + "ritdead.txt") Then
CopyFile(ProgPath + "ritdead.txt", ProgPath + "ritprev.txt")
Del ProgPath + "ritdead.txt"
End If
End If
End If
462 If Exists(ProgPath + "ritdead.txt") Then
Else
487 Open ProgPath + "ritdead.txt" For Output As i4654
Print #i4654, "@04@Sacrifices for the day of " + "@0C@" + s5245
Print #i4654, " @07@─────@08@══════════@07@──────"
Close i4654
End If
562 i4654 = FreeFile
Open s4463 + "lachuser.dat" For Random As i4654 Len = 172 '! This value should probably be replaced with a "SizeOf" expression
i4480 = 0
Do
605 i4480 = i4480 + 1
Get i4654, i4480, t26_4656 '! 172 bytes
If InStr(UCase(t26_4656.s0), UCase(Pad(User.Name, 15))) Then
GoTo 695
End If
679 Loop While Not EOF(i4654)
695 Close i4654
Sub11403
If Exists(s4463 + "armour.dat") Then
Open s4463 + "armour.dat" For Random As i4654 Len = 180 '! This value should probably be replaced with a "SizeOf" expression
Get i4654, -1, t28_4828 '! 180 bytes
Close i4654
Else
788 Cls
Sub6040
Locate 5, 12
Print "@BELL@@84@ERROR!! ERROR!! @04@ARMOUR.DAT FILE NOT FOUND!!!!!!"
Locate 7, 12
Print "@04@Please Notify the SysOp of this Error IMMEDIATELY!!"
Sub4781
Sub5990
End If
841 If Exists(s4463 + "weapon.dat") Then
Open s4463 + "weapon.dat" For Random As i4654 Len = 180 '! This value should probably be replaced with a "SizeOf" expression
Get i4654, -1, t27_5008 '! 180 bytes
Close i4654
Else
920 Cls
Sub6040
Locate 5, 12
Print "@BELL@@84@ERROR!! ERROR!! @04@WEAPON.DAT FILE NOT FOUND!!!!!!"
Locate 7, 12
Print "@04@Please Notify the SysOp of this Error IMMEDIATELY!!"
Sub4781
Sub5990
End If
973 If Exists(ProgPath + "ritplay.dat") Then
i4654 = FreeFile
Open ProgPath + "ritplay.dat" For Input As i4654
Do
1028 Input #i4654, s5263
If InStr(UCase(s5263), UCase(t26_4656.s0)) Then
Close i4654
GoTo 1111
End If
1081 Loop While Not EOF(i4654)
Close i4654
End If
1105 GoTo 1169
1111 MorePrompt(0)
Cls
Sub6040
Locate 5, 12
Print "@0D@Sorry....It appears that you have already visited today."
Locate 7, 12
Print "@0D@Come back tomorrow - and DON'T FORGET YOUR SANITY!!!!!"
Sub4781
Sub5990
1169 i4654 = FreeFile
Open ProgPath + "ritplay.dat" For Append As i4654
Print #i4654, UCase(t26_4656.s0)
Close i4654
i4654 = FreeFile
Open ProgPath + "ritmaint.dat" For Output As i4654
Print #i4654, UCase(s5245)
Close i4654
Cls
MorePrompt(0)
DisplayTextFile(ProgPath + "ritual1.bbs")
Locate 16, 21
Print "@05@Version: @0D@.66 @08@(Beta @07@2@08@/@07@3@08@/@07@96@08@)"
Locate 17, 31
Print "@0D@" + s4476
Locate 18, 31
If s4475 = "Y" Then
Print "@0D@" + MakeWild.BBSName
Else
1402 Print "@0D@UNREGISTERED BBS"
End If
1411 Sub4221
Sub4781
Cls
MorePrompt(0)
Sub6040
Locate 5, 9
Print "@05@You wander into what appears to be an ancient place of worship@08@."
Locate 6, 9
Print "@05@There are many relics and artifacts here@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 7, 9
Print "@05@Some are hanging from the walls@07@.@08@.@07@.@05@and some are on shelves@08@."
Locate 8, 9
Print "@05@The atmosphere is very forboding@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@."
If Exists(ProgPath + "lastded.dat") Then
Open ProgPath + "lastded.dat" For Input As i4654
Input #i4654, s5239
Close i4654
If t26_4656.s15 = s5239 Then
GoTo 1639
End If
1594 Locate 9, 9
Print "@05@You see the corpse of " + "@0D@" + Trim(s5239) + "@05@ in a corner@07@.@08@.@07@.@08@."
Else
1639 Locate 9, 9
Print "@05@You see the decayed remains of a Warrior in a corner@07@.@08@.@07@.@08@.@07@."
End If
1655 Locate 10, 9
Print "@05@You feel as though you are being watched closely@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 11, 9
Print "@05@But that's ridiculous! There's no one here!@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Delay 2
Locate 13, 30
Print "@05@or is there??"
Sub4781
Sub6040
Locate 5, 9
Print "@05@You hear some shuffling sounds from behind a curtain@07@.@08@.@07@.@08@.@07@.@08@."
Locate 6, 9
Print "@05@You yell in your most fierce growl@07@.@08@.@07@.@08@.@07@.@08@.@07@.@0D@WHO GOES THERE@05@?!?"
Locate 7, 9
Print "@05@There's no response@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 8, 9
Print "@05@Then the room begins to fill with a very eerie @08@Opaque Mist@07@.@08@.@07@.@08@.@07@."
Locate 9, 9
Print "@05@As suddenly as it appears it vanishes@07@.@08@.@07@.@08@.@07@.@08@."
Locate 10, 9
Print "@05@Before you stands a very evil and powerful looking Warlock@08@."
Delay 2
Locate 12, 30
Print "@0D@The Warlock speaks"
Sub4781
Sub6040
Locate 5, 9
Print "@05@I know of many things@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 6, 9
Print "@05@You are the warrior known as " + "@0D@" + Trim(t26_4656.s15) + "@05@ - are you not??"
Locate 7, 9
Print "@05@It is as I thought@07@.@08@.@07@.@08@.@07@.@08@.@05@You cannot hide your thoughts from me@07@.@08@."
Locate 8, 9
Print "@05@I also know of your intent to kill my master@07@.@08@.@07@.@08@.@07@.@0D@The Lachrymator@05@."
Locate 9, 9
Print "@05@I will not make him aware of your quest of course@07@.@08@.@07@.@08@.@07@."
Locate 10, 9
Print "@05@I shall profit greatly from his demise@08@."
Locate 11, 9
Print "@05@If you can bring yourself to trust me @08@- @05@I can help you@07@.@08@.@07@.@08@.@07@."
Locate 12, 9
Print "@05@But I warn you@07@.@08@.@07@.@08@.@05@my services are not without risk@07@.@08@.@07@.@08@.@07@ ."
Delay 2
Locate 14, 9
Print "@05@Might I interest you in my more than generous offer (@0D@Y@05@/@0D@N@05@)??"
Do
2036 Locate 23, 1
s5196 = InKey(1213417543)
If InStr("YN", UCase(s5196)) Then
GoTo 2092
End If
2086 Loop
2092 If (UCase(s5196) = "N") = 0 Then GoTo 2303
Do
2114 Sub6040
Locate 5, 9
Print "@05@You are a foolish stupid warrior, " + "@0D@" + Trim(t26_4656.s15) + "@05@!!!!"
Locate 6, 9
Print "@05@For your insolence I should by all means take your life@07@.@08@.@07@.@08@.@07@.@08@."
Locate 7, 9
Print "@05@But as we all know@07@.@08@.@07@.@05@The Master won't allow it@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 8, 9
Print "@05@Well@07@.@08@.@07@.@05@not without your permission of course@07@.@08@.@07@.@08@.@07@.@08@."
Locate 9, 9
Print "@05@I'm sure you wouldn't do that@07@.@08@.@07@.@08@.@05@you're too smart for that@07@.@08@.@07@."
Locate 10, 9
Print "@05@So I guess I have to send you back to the world@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 11, 9
Print "@05@I'll get you sooner or later@07@.@08@.@07@.@05@you can count on that Warrior!"
Delay 2
Locate 13, 9
Print "@05@With those words you are teleported back to the realm@07@.@08@.@07@.@08@.@07@."
Sub4781
Sub5990
GoTo 3064
2303 If (UCase(s5196) = "Y") = 0 Then GoTo 3064
Sub6040
Locate 5, 9
Print "@05@Then it shall be@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 6, 9
Print "@05@First you must voluntarily lie upon my sacrificial altar@07@.@08@.@07@."
Locate 7, 9
Print "@0D@" + Trim(t26_4656.s15) + "@05@, are you willing to do this of your own free will?"
Locate 9, 9
Print "@05@(@0D@I@05@)'m willing to make this sacrifice mighty @0D@Warlock!"
Locate 11, 9
Print "@05@(@0D@T@05@)ake a flying leap @0D@Warlock@05@! I'm outa here!"
Do
2433 Locate 23, 1
s5196 = InKey(1213417543)
If InStr("IT", UCase(s5196)) Then
GoTo 2489
End If
2483 Loop
2489 If (UCase(s5196) = "T") = 0 Then GoTo 2523
Loop
GoTo 3064
2523 If UCase(s5196) = "I" Then
Sub6074
Locate 5, 9
Print "@0D@What can it hurt? @05@You think to yourself@07@.@08@.@07@.@08@.@07@."
Locate 6, 9
Print "@05@Nervously you eye the altar@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 7, 9
Print "@05@The carved stone and hardwood makes you a bit uneasy@07@.@08@.@07@."
Locate 8, 9
Print "@05@The heavy scent of death fills the air@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 9, 9
Print "@05@You carefully lie down on the table@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 10, 9
Print "@05@Suddenly @0D@MaGiC ChAiNs @05@bind you to the altar!"
Locate 11, 9
Print "@05@You can't move!! Now what's going to happen to you???"
Sub4781
Sub6074
Locate 5, 9
Print "@0D@The Warlock @05@utters some ancient spells and incantations@07@.@08@.@07@.@08@.@07@."
Locate 6, 9
Print "@05@The room starts to spin@07@.@08@.@07@.@08@.@05@you feel @0D@REALLY SICK@05@!!"
Locate 7, 9
Print "@0D@Now we must wait@07@.@08@.@07@.@08@.@05@mutters @0D@The Warlock@07@.@08@.@07@.@08@.@07@.@08@."
Locate 8, 9
Print "@05@Your fate lies in the hands of your gods now " + "@0D@" + Trim(t26_4656.s15) + "@05@."
Locate 20, 17
Sub4867
Sub4781
Sub6074
Locate 5, 9
Print "@05@The room is suddenly filled by a blinding flash of light@07@.@08@.@07@.@08@.@07@.@08@."
Locate 6, 9
Print "@05@When the room returns to normal the @0D@MaGiC ChAiNs @05@vanish@07@.@08@.@07@.@08@."
Locate 7, 9
Print "@05@You can now move freely!"
Locate 8, 9
Print "@0D@The Warlock @05@is no longer here @08@-@05@ Where did he go??"
Locate 9, 9
Print "@05@Oh well@07@.@08@.@07@.@05@it's probably for the best anyways@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 10, 9
Print "@0D@The Warlock @05@makes you nervous@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 11, 9
Print "@05@You get up and take stock in yourself@07@.@08@.@07@.@08@.@07@.@08@."
Sub4867
Sub4781
Sub6074
Locate 5, 9
Print "@05@After carefully looking over yourself you notice a change@07@.@08@.@07@.@08@.@07@."
Locate 6, 9
Print "@05@Yes indeed@07@.@08@.@07@.@08@.@05@there has been a change made!"
Locate 8, 9
Print "@0D@Through this experience you have gained the following:"
Locate 10, 21
Print "@01@▐@08@■@07@■@0F@■@07@■@08@■@18@▌@07@»»»»»»»»»»»»»»»»»»»»»»»»»»»»"
Locate 12, 21
Print "@07@««««««««««««««««««««««««««««@18@▐@08@■@07@■@0F@■@07@■@08@■@01@▌"
Sub10946
Locate i5192, i5194
Print "@0D@" + s5211
Sub4781
If (i5215 = 1) = 0 Then GoTo 3064
Else
3064 Sub6074
Sub4375
Locate 4, 9
Print "@05@You shriek in agonizing pain@07@.@08@.@07@.@08@.@07@.@08@."
Locate 5, 9
Print "@05@You begin to vomit all over yourself@07@.@08@.@07@.@08@.@07@.@08@."
Locate 6, 9
Print "@05@Blood starts to seep from all your pores@07@.@08@.@07@.@08@.@07@."
Locate 7, 9
Print "@05@You feel a great pressure building up inside your head"
Locate 8, 9
Print "@05@Then you EXPLODE! Your body parts are strewn across the room!"
Locate 9, 9
Print "@05@The last thing you remember as you die is@07@.@08@.@07@.@08@.@07@.@08@.@0D@The Warlock@08@."
Locate 10, 9
Print "@05@He's standing over your mangled body@07@.@08@.@07@.@08@.@07@.@08@.@05@Then he hisses"
Locate 11, 9
Print "@05@Your SOUL will make a splendid GIFT to the Lachrymator@07@.@08@.@07@.@05@Warrior!"
Locate 12, 15
Print "@8D@YOU HAVE DIED!!!.......RETURNING TO LACHRYMATOR"
Open ProgPath + "lastded.dat" For Output As i4654
Print #i4654, t26_4656.s15
Close i4654
Sub4781
If s4475 = "N" Then
Sub5438
End If
3305 End
End If
Do
Do
3306 Sub6040
Locate 5, 9
Print "@05@You now have something to tell your grandkids about@07@.@08@.@07@.@08@."
Locate 6, 9
Print "@05@You have survived @0D@T@05@he @0D@R@05@itual @0D@A@05@ltar!!"
Locate 7, 9
Print "@05@For today at least@07@.@08@.@07@.@08@.@07@.@05@there's always another day!"
Locate 8, 9
Print "@05@But you can at least say that you lived@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 9, 9
Print "@05@Some warriors aren't as lucky@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 10, 9
Print "@05@Would you care to see those that have perished in this realm?"
Locate 12, 20
Print "@05@(@0D@T@05@)oday's Sacrifices"
Locate 13, 20
Print "@05@(@0D@Y@05@)esterday's Sacrifices"
Locate 14, 20
Print "@05@(@0D@Q@05@)uit back to Lachrymator"
Do
3456 Locate 23, 1
s5196 = InKey(1213417543)
If InStr("TYQ", UCase(s5196)) Then
GoTo 3512
End If
3506 Loop
3512 If (UCase(s5196) = "T") = 0 Then GoTo 3588
If Exists(ProgPath + "ritdead.txt") Then
Cls
DisplayTextFile(ProgPath + "ritdead.txt")
Sub4781
End If
3576 Loop
GoTo 3692
3588 If (UCase(s5196) = "Y") = 0 Then GoTo 3664
If Exists(ProgPath + "ritprev.txt") Then
Cls
DisplayTextFile(ProgPath + "ritprev.txt")
Sub4781
End If
3652 Loop
GoTo 3692
3664 If UCase(s5196) = "Q" Then
Sub5990
End If
3692 End
'! Called 1 time
Function Func3749(l65534 As Long, l65532 As Long) As Integer
Dim l65467 As Long
Dim i65471 As Integer
Dim l65473 As Long
Dim i65477 As Integer
Dim s65483 As String*7
Dim s65490 As String*30
Dim l65520 As Long
Dim l65524 As Long
Dim i65528 As Integer
s65490 = UCase(MakeWild.BBSName)
s65490 = Trim(s65490)
l65524 = 0
3826 For i65528 = 1 To Len(s65490) Step 1
l65524 = l65524 + Asc(Mid(s65490, i65528, 1))
Next
3930 s65483 = UCase(MakeWild.RegString)
s65483 = Trim(s65483)
l65520 = 0
3999 For i65528 = 1 To Len(s65483) Step 1
l65520 = l65520 + Asc(Mid(s65483, i65528, 1))
Next
4103 l65520 = l65520 + l65524
l65520 = l65520 * 7
l65520 = l65520 * l65532
l65520 = l65520 + l65532
If l65520 = l65534 Then
Func3749 = - 1
Else
4207 Func3749 = 0
End If
4213
End Function
'! Called 1 time
Sub Sub4221
s5201 = "@0C@" + Trim(t26_4656.s15) + " @04@traveled to @0C@T@04@he @0C@R@04@itual @0C@A@04@ltar@84@!"
s5205 = "@04@Hmmmm....I wonder why " + "@0C@" + Trim(t26_4656.s15) + "@04@ went there?"
Open s4463 + "today.txt" For Append As i4654
Print #i4654, s5201
Print #i4654, s5205
Print #i4654, s5197
Close i4654
End Sub
'! Called 1 time
Sub Sub4375
s5201 = "@0C@" + Trim(t26_4656.s15) + " @04@was sacrificed on @0C@T@04@he @0C@R@04@itual @0C@A@04@ltar@84@!"
s5205 = "@04@We all shall mourn the passing of " + "@0C@" + Trim(t26_4656.s15) + " @04@the Warrior...."
Open s4463 + "today.txt" For Append As i4654
Print #i4654, s5201
Print #i4654, s5205
Print #i4654, s5197
Close i4654
CurrentTime t5235
s5231 = FormatTime(t5235, "hh:mm:ss")
Open ProgPath + "ritdead.txt" For Append As i4654
Print #i4654, "@0C@" + Trim(t26_4656.s15) + "@04@ was sacrificed at " + "@0C@" + s5231
Close i4654
End Sub
'! Called 1 time
Sub Sub4634
s5201 = "@0C@" + Trim(t26_4656.s15) + " @04@managed to make it back alive from @0C@T@04@he @0C@R@04@itual @0C@A@04@ltar@84@!"
s5205 = "@0C@" + Trim(t26_4656.s15) + " @04@has had a RELIGIOUS EXPERIENCE!!!"
Open s4463 + "today.txt" For Append As i4654
Print #i4654, s5201
Print #i4654, s5205
Print #i4654, s5197
Close i4654
End Sub
'! Called 15 times
Sub Sub4781
Locate 22, 27
Print "@0D@Stroke a @0F@KEY, @0D@Warrior!@0A@ "
Do
4806 s5196 = InKey(1213417543)
If UCase(s5196) > "" Then
GoTo 4854
End If
4848 Loop
4854 Locate 22, 1
ClrEOL
End Sub
'! Called 2 times
Sub Sub4867
Dim l65512 As Long
Dim i65516 As Integer
Dim l65518 As Long
Dim i65522 As Integer
Dim l65524 As Long
Dim i65528 As Integer
Dim l65530 As Long
Dim i65534 As Integer
4897 For i5190 = 17 To 27 Step 1
Locate 20, i5190
Print "@0D@░"
Delay 0.1
Next
4997
5018 For i5190 = 28 To 38 Step 1
Locate 20, i5190
Print "@0D@▒"
Delay 0.1
Next
5118
5139 For i5190 = 39 To 49 Step 1
Locate 20, i5190
Print "@0D@▓"
Delay 0.1
Next
5239
5260 For i5190 = 50 To 58 Step 1
Locate 20, i5190
Print "@0D@█"
Delay 0.1
Next
5360
End Sub
'! Called 5 times
Sub Sub5363
i4654 = FreeFile
Open s4463 + "lachuser.dat" For Random As i4654 Len = 172 '! This value should probably be replaced with a "SizeOf" expression
Put i4654, i4480, t26_4656 '! 172 bytes
Close i4654
End Sub
'! Called 2 times
Sub Sub5438
Dim l65512 As Long
Dim i65516 As Integer
Dim l65518 As Long
Dim i65522 As Integer
Dim l65524 As Long
Dim i65528 As Integer
Dim l65530 As Long
Dim i65534 As Integer
Cls
MorePrompt(0)
Locate 8, 17
Print " @84@UNREGISTERED PROGRAM - PLEASE REGISTER"
Locate 9, 17
Print "@0D@┌@05@───────────────────@0D@┬@05@────────────────────@0D@┐"
Locate 11, 17
Print "@0D@└@05@───────────────────@0D@┴@05@────────────────────@0D@┘"
5524 For i5190 = 17 To 27 Step 1
Locate 10, i5190
Print "@0D@░"
Delay 0.1
Next
5624
5645 For i5190 = 28 To 38 Step 1
Locate 10, i5190
Print "@0D@▒"
Delay 0.1
Next
5745
5766 For i5190 = 39 To 49 Step 1
Locate 10, i5190
Print "@0D@▓"
Delay 0.1
Next
5866
5887 For i5190 = 50 To 58 Step 1
Locate 10, i5190
Print "@0D@█"
Delay 0.1
Next
5987
End Sub
'! Called 5 times
Sub Sub5990
Sub4634
Sub5363
If s4475 = "N" Then
Sub5438
End If
6036 End
End Sub
'! Called 9 times
Sub Sub6040
Cls
MorePrompt(0)
DisplayTextFile(ProgPath + "ritual2.bbs")
End Sub
'! Called 5 times
Sub Sub6074
Cls
MorePrompt(0)
DisplayTextFile(ProgPath + "ritual3.bbs")
End Sub
'! Called 1 time
Sub Sub6108
Dim s65521 As String*15
i5215 = 1
i5217 = Val(Trim(t26_4656.s38))
If i5217 = 1 Then
s65521 = t27_5008.s15
End If
6176 If i5217 = 2 Then
s65521 = t27_5008.s30
End If
6207 If i5217 = 3 Then
s65521 = t27_5008.s45
End If
6238 If i5217 = 4 Then
s65521 = t27_5008.s60
End If
6269 If i5217 = 5 Then
s65521 = t27_5008.s75
End If
6300 If i5217 = 6 Then
s65521 = t27_5008.s75
End If
6331 If i5217 = 7 Then
s65521 = t27_5008.s75
End If
6362 If i5217 = 8 Then
s65521 = t27_5008.s75
End If
6393 If i5217 = 9 Then
s65521 = t27_5008.s75
End If
6424 If i5217 = 10 Then
s65521 = t27_5008.s75
End If
6455 If i5217 = 11 Then
s65521 = t27_5008.s90
End If
6486 If i5217 = 12 Then
s65521 = t27_5008.s105
End If
6517 If t26_4656.s40 = "YOUR FISTS " Then
i5225 = 0
End If
6546 If t26_4656.s40 = t27_5008.s0 Then
i5225 = - 10
End If
6579 If t26_4656.s40 = t27_5008.s15 Then
i5225 = - 20
End If
6616 If t26_4656.s40 = t27_5008.s30 Then
i5225 = - 30
End If
6653 If t26_4656.s40 = t27_5008.s45 Then
i5225 = - 40
End If
6690 If t26_4656.s40 = t27_5008.s60 Then
i5225 = - 50
End If
6727 If t26_4656.s40 = t27_5008.s75 Then
i5225 = - 60
End If
6764 If t26_4656.s40 = t27_5008.s90 Then
i5225 = - 70
End If
6801 If t26_4656.s40 = t27_5008.s105 Then
i5225 = - 80
End If
6838 If t26_4656.s40 = t27_5008.s120 Then
i5225 = - 90
End If
6875 If t26_4656.s40 = t27_5008.s135 Then
i5225 = - 110
End If
6912 If t26_4656.s40 = t27_5008.s150 Then
i5225 = - 150
End If
6949 If t26_4656.s40 = t27_5008.s165 Then
i5225 = - 250
End If
6986 If s65521 = "YOUR FISTS " Then
i5221 = 0
End If
7011 If s65521 = t27_5008.s0 Then
i5221 = 10
End If
7038 If s65521 = t27_5008.s15 Then
i5221 = 20
End If
7069 If s65521 = t27_5008.s30 Then
i5221 = 30
End If
7100 If s65521 = t27_5008.s45 Then
i5221 = 40
End If
7131 If s65521 = t27_5008.s60 Then
i5221 = 50
End If
7162 If s65521 = t27_5008.s75 Then
i5221 = 60
End If
7193 If s65521 = t27_5008.s90 Then
i5221 = 70
End If
7224 If s65521 = t27_5008.s105 Then
i5221 = 80
End If
7255 If s65521 = t27_5008.s120 Then
i5221 = 90
End If
7286 If s65521 = t27_5008.s135 Then
i5221 = 110
End If
7317 If s65521 = t27_5008.s150 Then
i5221 = 150
End If
7348 If s65521 = t27_5008.s165 Then
i5221 = 250
End If
7379 s5211 = "New Weapon! You got a " + Trim(s65521) + "!"
i5192 = 11
i5194 = 21
i5229 = Val(Trim(t26_4656.s79))
i5229 = i5229 + i5225 + i5221
t26_4656.s79 = Str(i5229)
t26_4656.s40 = s65521
If Len(t26_4656.s79) > 3 Then
t26_4656.s79 = "999"
End If
7537 If Len(t26_4656.s79) <= 3 Then
t26_4656.s79 = Pad(t26_4656.s79, 3)
End If
7585 If Len(t26_4656.s40) <= 15 Then
t26_4656.s40 = Pad(t26_4656.s40, 15)
End If
7633 Sub5363
End Sub
'! Called 1 time
Sub Sub7642
Dim s65521 As String*15
i5215 = 1
i5217 = Val(Trim(t26_4656.s38))
If i5217 = 1 Then
s65521 = t28_4828.s0
End If
7706 If i5217 = 2 Then
s65521 = t28_4828.s15
End If
7737 If i5217 = 3 Then
s65521 = t28_4828.s30
End If
7768 If i5217 = 4 Then
s65521 = t28_4828.s45
End If
7799 If i5217 = 5 Then
s65521 = t28_4828.s60
End If
7830 If i5217 = 6 Then
s65521 = t28_4828.s75
End If
7861 If i5217 = 7 Then
s65521 = t28_4828.s75
End If
7892 If i5217 = 8 Then
s65521 = t28_4828.s75
End If
7923 If i5217 = 9 Then
s65521 = t28_4828.s75
End If
7954 If i5217 = 10 Then
s65521 = t28_4828.s75
End If
7985 If t26_4656.s118 = "BIRTHDAY SUIT " Then
i5223 = 0
End If
8014 If t26_4656.s118 = t28_4828.s0 Then
i5223 = - 10
End If
8047 If t26_4656.s118 = t28_4828.s15 Then
i5223 = - 20
End If
8084 If t26_4656.s118 = t28_4828.s30 Then
i5223 = - 30
End If
8121 If t26_4656.s118 = t28_4828.s45 Then
i5223 = - 40
End If
8158 If t26_4656.s118 = t28_4828.s60 Then
i5223 = - 50
End If
8195 If t26_4656.s118 = t28_4828.s75 Then
i5223 = - 60
End If
8232 If t26_4656.s118 = t28_4828.s90 Then
i5223 = - 70
End If
8269 If t26_4656.s118 = t28_4828.s105 Then
i5223 = - 80
End If
8306 If t26_4656.s118 = t28_4828.s120 Then
i5223 = - 90
End If
8343 If t26_4656.s118 = t28_4828.s135 Then
i5223 = - 100
End If
8380 If t26_4656.s118 = t28_4828.s150 Then
i5223 = - 110
End If
8417 If t26_4656.s118 = t28_4828.s165 Then
i5223 = - 120
End If
8454 If s65521 = "BIRTHDAY SUIT " Then
i5219 = 0
End If
8479 If s65521 = t28_4828.s0 Then
i5219 = 10
End If
8506 If s65521 = t28_4828.s15 Then
i5219 = 20
End If
8537 If s65521 = t28_4828.s30 Then
i5219 = 30
End If
8568 If s65521 = t28_4828.s45 Then
i5219 = 40
End If
8599 If s65521 = t28_4828.s60 Then
i5219 = 50
End If
8630 If s65521 = t28_4828.s75 Then
i5219 = 60
End If
8661 If s65521 = t28_4828.s90 Then
i5219 = 70
End If
8692 If s65521 = t28_4828.s105 Then
i5219 = 80
End If
8723 If s65521 = t28_4828.s120 Then
i5219 = 90
End If
8754 If s65521 = t28_4828.s135 Then
i5219 = 100
End If
8785 If s65521 = t28_4828.s150 Then
i5219 = 110
End If
8816 If s65521 = t28_4828.s165 Then
i5219 = 120
End If
8847 s5211 = "New Armor! You got the " + Trim(s65521) + "!"
i5192 = 11
i5194 = 20
i5227 = Val(Trim(t26_4656.s76))
i5227 = i5227 + i5223 + i5219
t26_4656.s76 = Str(i5227)
t26_4656.s118 = s65521
If Len(t26_4656.s76) > 3 Then
t26_4656.s76 = "999"
End If
9005 If Len(t26_4656.s76) <= 3 Then
t26_4656.s76 = Pad(t26_4656.s76, 3)
End If
9053 If Len(t26_4656.s118) <= 15 Then
t26_4656.s118 = Pad(t26_4656.s118, 15)
End If
9101 Sub5363
End Sub
'! Called 1 time
Sub Sub9110
Dim i65532 As Integer
Dim i65534 As Integer
i5215 = 1
i5209 = Rnd * 100 Mod 100 + 1
If i5209 >= 0 And i5209 <= 10 Then
i65534 = 1
Else
9188 If i5209 >= 11 And i5209 <= 20 Then
i65534 = 2
Else
9227 If i5209 >= 21 And i5209 <= 30 Then
i65534 = 3
Else
9266 If i5209 >= 31 And i5209 <= 40 Then
i65534 = 4
Else
9305 If i5209 >= 41 And i5209 <= 50 Then
i65534 = 5
Else
9344 If i5209 >= 51 And i5209 <= 60 Then
i65534 = 10
Else
9383 If i5209 >= 61 And i5209 <= 70 Then
i65534 = 15
Else
9422 If i5209 >= 71 And i5209 <= 80 Then
i65534 = 20
Else
9461 If i5209 >= 81 And i5209 <= 90 Then
i65534 = 25
Else
9500 If i5209 >= 91 And i5209 <= 99 Then
i65534 = 30
Else
9539 If i5209 = 100 Then
i65534 = 50
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
9561 s5211 = "An INCREASE of " + Str(i65534) + " Experience!"
i5192 = 11
i5194 = 23
i65532 = Val(Trim(t26_4656.s55))
i65532 = i65532 + i65534
t26_4656.s55 = Str(i65532)
If Len(t26_4656.s55) > 7 Then
t26_4656.s55 = "9999999"
End If
9695 If Len(t26_4656.s55) <= 7 Then
t26_4656.s55 = Pad(t26_4656.s55, 7)
End If
9743 Sub5363
End Sub
'! Called 3 times
Sub Sub9752
Dim i65532 As Integer
Dim i65534 As Integer
i5215 = 1
i5209 = Rnd * 100 Mod 100 + 1
If i5209 >= 0 And i5209 <= 10 Then
i65534 = 500
Else
9831 If i5209 >= 11 And i5209 <= 20 Then
i65534 = 1000
Else
9871 If i5209 >= 21 And i5209 <= 30 Then
i65534 = 1500
Else
9911 If i5209 >= 31 And i5209 <= 40 Then
i65534 = 2000
Else
9951 If i5209 >= 41 And i5209 <= 50 Then
i65534 = 3000
Else
9991 If i5209 >= 51 And i5209 <= 60 Then
i65534 = 4000
Else
10031 If i5209 >= 61 And i5209 <= 70 Then
i65534 = 5000
Else
10071 If i5209 >= 71 And i5209 <= 80 Then
i65534 = 7500
Else
10111 If i5209 >= 81 And i5209 <= 90 Then
i65534 = 10000
Else
10151 If i5209 >= 91 And i5209 <= 99 Then
i65534 = 12500
Else
10191 If i5209 = 100 Then
i65534 = 25000
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
10214 s5211 = "@0D@" + Str(i65534) + "@0D@ GOLD!! You're FILTHY RICH!"
i5192 = 11
i5194 = 22
i65532 = Val(Trim(t26_4656.s62))
i65532 = i65532 + i65534
t26_4656.s62 = Str(i65532)
If Len(t26_4656.s62) > 7 Then
t26_4656.s62 = "9999999"
End If
10348 If Len(t26_4656.s62) <= 7 Then
t26_4656.s62 = Pad(t26_4656.s62, 7)
End If
10396
End Sub
'! Called 2 times
Sub Sub10399
Dim i65534 As Integer
i5215 = 1
i5209 = Rnd * 100 Mod 100 + 1
If i5209 <= 10 Then
GoTo 10536
Else
10466 If i5209 >= 11 And i5209 <= 95 Then
GoTo 10846
Else
10504 If i5209 >= 96 And i5209 <= 100 Then
GoTo 10675
End If
End If
End If
10536 s5211 = "A Sex Change Operation!"
i5192 = 11
i5194 = 21
If UCase(t26_4656.s75) = "M" Then
t26_4656.s75 = "F"
Else
10606 t26_4656.s75 = "M"
End If
10621 If Len(t26_4656.s75) > 1 Then
t26_4656.s75 = Pad(t26_4656.s75, 1)
End If
10669 GoTo 10937
10675 i5215 = 2
s5211 = "DEATH! You have been sacrificed!!"
i5192 = 11
i5194 = 21
i65534 = 0
t26_4656.s142 = Str(i65534)
t26_4656.s136 = "NO "
If Len(t26_4656.s142) <= 4 Then
t26_4656.s142 = Pad(t26_4656.s142, 4)
End If
10792 If Len(t26_4656.s136) <= 3 Then
t26_4656.s136 = Pad(t26_4656.s136, 3)
End If
10840 GoTo 10937
10846 s5211 = "Total Healing!"
i5192 = 11
i5194 = 29
t26_4656.s142 = t26_4656.s146
If Len(t26_4656.s142) > 4 Then
t26_4656.s142 = Pad(t26_4656.s142, 4)
End If
10937 Sub5363
End Sub
'! Called 1 time
Sub Sub10946
i5209 = Rnd * 100 Mod 100 + 1
If i5209 >= 0 And i5209 <= 10 Then
Sub9110
Else
11016 If i5209 >= 11 And i5209 <= 20 Then
i5215 = 1
s5211 = "Nada, Nothing, Zilch, Zero!"
i5192 = 11
i5194 = 24
Else
11078 If i5209 >= 21 And i5209 <= 30 Then
Sub9752
Else
11116 If i5209 >= 31 And i5209 <= 40 Then
Sub10399
Else
11154 If i5209 >= 41 And i5209 <= 50 Then
i5215 = 1
s5211 = "Not a dang thing!"
i5192 = 11
i5194 = 28
Else
11216 If i5209 >= 51 And i5209 <= 60 Then
Sub6108
Else
11254 If i5209 >= 61 And i5209 <= 70 Then
Sub9752
Else
11292 If i5209 >= 71 And i5209 <= 80 Then
Sub7642
Else
11330 If i5209 >= 81 And i5209 <= 90 Then
Sub9752
Else
11368 If i5209 >= 91 And i5209 <= 100 Then
Sub10399
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
11400
End Sub
'! Called 1 time
Sub Sub11403
Dim s65528 As String
Dim s65532 As String
If Exists(s4463 + "lachex" + s5253 + ".dat") Then
i4654 = FreeFile
Open s4463 + "lachex" + s5253 + ".dat" For Input As i4654
Input #i4654, s65532
Close i4654
s65528 = Left(s65532, 15)
If UCase(s65528) = UCase(t26_4656.s0) Then
GoTo 11685
Else
11562 GoTo 11574
End If
11568 Else
11574 Cls
MorePrompt(0)
Locate 3, 12
Print "@84@ERROR!! ERROR!! ERROR!! ERROR!! ERROR!! ERROR!! ERROR!!"
Locate 5, 12
Print "@09@This Program can only be run from a REGISTERED COPY"
Locate 6, 12
Print "of Lachrymator. This program cannot be run on it own...."
Locate 7, 12
Print "@09@According to internal file verification routines..."
Locate 8, 12
Print "@09@The installed copy of Lachrymator is NOT REGISTERED!"
Locate 9, 12
Print "@09@PLEASE ask your SysOp to Register Lachrymator..Thanks!"
End If
11678 Sub4781
End
11685
End Sub